#!/usr/local/bin/python
import os

_dir = os.getcwd()
temp_files = os.listdir(_dir) 
itstat = "itstat "
#Building the itstat command
for _file in temp_files:
	base, ext = os.path.splitext(_file)
	if ext == ".py":
		continue
	else:
		itstat += _file + " "

result = os.popen(itstat)
lines = result.read().split('\n')

output = ""
for line in lines:
	elements = line.split(":")
	# in case there is no : in this line
	if len(elements) == 1:
		continue
	key, value = elements
	if key == "File":
		output += value
	elif key == "Resolution":
		output +=":" + value + "\n"